#ifndef NEGATENODE_H
#define NEGATENODE_H

#include "Node.h"

class Neg : public Node // A node with one child, which it negates
{
	public:
		Neg(Node * Child): , child(Child) {}
		~Neg() { delete(child); }
		Node * getChild() const;
		void accept(Visitor & v);
	private:
		Node * child;
};

#endif

